// DlgAlarm.h: interface for the CDlgAlarm class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DLGALARM_H__5747C126_704D_11D4_A591_008029E8269F__INCLUDED_)
#define AFX_DLGALARM_H__5747C126_704D_11D4_A591_008029E8269F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CTimeTask;
class CDlgAlarm  
{
public:
	CDlgAlarm(CTimeTask* ts,int nCount);
	virtual ~CDlgAlarm();
private:
  HWND m_hWnd;
  CTimeTask* m_ts;
  int m_nCount;

public:
  bool m_bTimer;
  UINT  DoModal(HWND hWndParent);
  bool Put(PCSTR s);

private:
  static LRESULT CALLBACK _DlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
  LRESULT CALLBACK DlgProc(UINT message, WPARAM wParam, LPARAM lParam);
  void OnCommand(int wmId,int wmEvent);
  void OnCreate();
  void OnDestroy();
  void OnOk();
  void Error(UINT id);
  void OnChangeType();


};

#endif // !defined(AFX_DLGALARM_H__5747C126_704D_11D4_A591_008029E8269F__INCLUDED_)
